<template>
	<view class="row container">
		<view class="row">
			<text class="text label">促销</text>
			<text class="text desc">{{desc}}</text>
		</view>
		<view>
			<text class="text saving">可优惠¥ {{saving}}</text>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			desc: {
				type: String,
				default: ''
			},
			saving: {
				type: String,
				default: ''
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style scoped>
	.container {
		padding-left: 20rpx;
		padding-right: 25rpx;
		align-items: center;
		justify-content: space-between;
		height: 60rpx;
		background-color: #ffffff;
		border-bottom-width: 1rpx;
		border-bottom-color: #eeeeee;
		border-bottom-style: solid;
	}
	.text {
		font-size: 26rpx;
	}
	.label {
		background-color: #F43F26;
		color: #ffffff;
		padding-left: 5rpx;
		padding-right: 5rpx;
		padding-top: 1rpx;
		padding-bottom: 1rpx;
		border-radius: 5rpx;
	}
	.desc {
		margin-left: 20rpx;
	}
	.saving {
		
	}
</style>
